/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pojo;

/**
 *
 * @author Snowflake
 */
public class Property {

    public Property() {
        Name = "null";
        Type = "null";
    }
    private String Name;
    private String Type;

    public String getType() {
        return Type;
    }

    public void setType(String Type) {
        this.Type = Type;
    }
    private int Length;
    private boolean notnull;
    private boolean unique;

    public Property(String Name, String Type, int Length, boolean notnull, boolean unique) {
        this.Name = Name;
        this.Type = Type;
        this.Length = Length;
        this.notnull = notnull;
        this.unique = unique;
    }

    public int getLength() {
        return Length;
    }

    public void setLength(int Length) {
        this.Length = Length;
    }

    public String getName() {
        return Name;
    }

    public void setName(String Name) {
        this.Name = Name;
    }

    public boolean isNotnull() {
        return notnull;
    }

    public void setNotnull(boolean notnull) {
        this.notnull = notnull;
    }

    public boolean isUnique() {
        return unique;
    }

    public void setUnique(boolean unique) {
        this.unique = unique;
    }
}
